/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.hshn.mi.ajax;

/**
 *
 * @author Administrator
 */
import javax.enterprise.context.ApplicationScoped;
import javax.faces.bean.ManagedBean;


import java.util.ArrayList;
import java.util.List;

@ManagedBean
@ApplicationScoped
public class ImageSwitchBean {

    private List<String> images;

    public ImageSwitchBean() {
        images = new ArrayList<String>();
        images.add("nature1.jpg");
        images.add("nature2.jpg");
        images.add("nature3.jpg");
        images.add("nature4.jpg");
        images.add("nature5.jpg");
    }

    public List<String> getImages() {
        return images;
    }
}
